﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

/// <summary>
/// 向指定的openid发送文本消息
/// </summary>
namespace Stock.Model.WX
{
      //https://api.weixin.qq.com/cgi-bin/message/custom/send?access_token=52_mHzKX3kmU196825A4uNEvOTp_yc1CG5aKBd7wLIFhaI_GXCcktHgzd0RE6G_8nXdbj9JNtqC2VD5tHV9fQTzxFFlus9fzK9SivdVdjwdTAzGMWxg5ao8622oBxK8UFH9CME7CzsGohDU3g13ZBAcABAOQP

      //{
      //    "touser": "oegRb5uO91RtXcc148bnJxEdpALo", 
      //    "msgtype": "text", 
      //    "text": {
      //        "content": "test123321"
      //    }
      //}


      public class SendTextMessage
      {
            public string touser { set; get; }
            public string msgtype { set; get; }

            public TestMessageContent text { set; get; }
      }

      public class TestMessageContent
      {
            public string content { set; get; }
      }
}
